﻿@{
    ViewBag.Title = "Register";
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>天天生鲜-注册</title>
    <link href="~/css/main.css" rel="stylesheet" />
    <link href="~/css/reset.css" rel="stylesheet" />
    <script src="~/js/jquery-1.12.4.min.js"></script>
    <script src="~/js/register.js"></script>
    <script>
        $(function () {
            $(".zc").click(function () {
                var user=  $("#user_name").val();
                var pwd=  $("#pwd").val();
                var email=  $("#email").val();
                if (user == "") {
                    alert("用户名不可以为空");
                }
                else if (pwd == "") { alert("密码不可以为空"); }
                else if (email == "") { alert("邮箱不可以为空"); }
                else {
                    $("#zczc").submit();
                }
            })
        })
    </script>
</head>
<body style="    background:url(/img/背景2.jpg)  no-repeat fixed center;    background-size:100%;">
	<div class="register_con">
		<div class="l_con fl">
            
			<a class="reg_logo" href="/Home/Index"><img src="~/images/logo.png"></a>
			<div class="reg_slogan">每个人心里都有一团火，路过的人只看到烟。</div>
			<div class="reg_banner"></div>
		</div>

		<div class="r_con fr" style="background-color:white;">
			<div class="reg_title clearfix">
				<h1>用户注册</h1>
				<a href="/Login/Login">登录</a>
			</div>
			<div class="reg_form clearfix">
				<form method="post" action="/Login/Register" id="zczc">
				<ul>
					<li>
						<label>用户名:</label>
						<input type="text" name="UserName" id="user_name">
					@*	<span class="error_tip">提示信息</span>*@
					</li>					
					<li>
						<label>密码:</label>
						<input type="password" name="Pwd" id="pwd">
						@*<span class="error_tip">提示信息</span>*@
					</li>
					<li>
						<label>确认密码:</label>
						<input type="password" name="cpwd" id="cpwd">
						<span class="error_tip">提示信息</span>
					</li>
					<li>
						<label>邮箱:</label>
						<input type="text" name="Email" id="email">
					@*	<span class="error_tip">提示信息</span>*@
					</li>
					<li class="agreement">
						<input type="checkbox" name="allow" id="allow" checked="checked">
						<label>同意”天天生鲜用户使用协议“</label>
						<span class="error_tip2">提示信息</span>
					</li>
					<li class="reg_sub">
						<input type="button" class="zc" value="注 册" name="">
					</li>
				</ul>				
				</form>
			</div>

		</div>

	</div>

	<div class="footer no-mp">
		<div class="foot_link">
			<a href="#">关于我们</a>
			<span>|</span>
			<a href="#">联系我们</a>
			<span>|</span>
			<a href="#">招聘人才</a>
			<span>|</span>
			<a href="#">友情链接</a>		
		</div>
		<p>CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved</p>
		<p>电话：010-****888    京ICP备*******8号</p>
	</div>
	
</body>
</html>
